package cn.virens.common.boot.rabbit;

import cn.virens.common.util.exception.APIException;

@FunctionalInterface
public interface RabbitRoutingKey {
    /**
     * 生成路由键
     */
    String routingKey(Object object) throws APIException;
}
